/*
* qiudot.com Inc.
* Copyright (c) 2019 All Rights Reserved.
* create by qiudot
* date:2019-09-11
*/
package com.lora.entity;


import com.acooly.core.common.domain.AbstractEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * 无线烟感数据 Entity
 *
 * @author qiudot
 * Date: 2019-09-11 23:47:11
 */
@Entity
@Table(name = "wireless_smoke_feel")
@Getter
@Setter
public class Wirelesssmokefeel extends AbstractEntity {

    /**
     * 设备id
     */
	@Size(max = 36)
    private String equipmentid;

    /**
     * 原始数据
     */
	@Size(max = 128)
    private String datastring;

    /**
     * 设备状态
     */
    private String state;

    /**
     * 电压
     */
    private BigDecimal voltage;

    private boolean alarmFlag = false;

}
